package com.borya.model.entity;

import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

public class FaceIdResponse {
    private String nonce;
    private String sign;
    private String appid;
    private String orderNo;
    private String apiVersion;
    private String licence;
    private String facetype;
    private String faceId;
    private String userId;
    private String active;
    private Integer imgScore;
    public List<String> getSignList(String userId){
        return Stream.of(getAppid(),userId,getNonce(),getApiVersion()).collect(Collectors.toList());
    }

    public Integer getImgScore() {
        return imgScore;
    }

    public void setImgScore(Integer imgScore) {
        this.imgScore = imgScore;
    }

    public String getActive() {
        return active;
    }

    public void setActive(String active) {
        this.active = active;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNonce() {
        return nonce;
    }

    public void setNonce(String nonce) {
        this.nonce = nonce;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getApiVersion() {
        return apiVersion;
    }

    public void setApiVersion(String apiVersion) {
        this.apiVersion = apiVersion;
    }

    public String getLicence() {
        return licence;
    }

    public void setLicence(String licence) {
        this.licence = licence;
    }

    public String getFacetype() {
        return facetype;
    }

    public void setFacetype(String facetype) {
        this.facetype = facetype;
    }

    public String getFaceId() {
        return faceId;
    }

    public void setFaceId(String faceId) {
        this.faceId = faceId;
    }
}
